<style>
<!--
/* cms toolbar */
ul.cms_toolbar { display: block; position: absolute; background: url(../../img/firma/bg_toolbar.png) repeat; margin-top: -30px}
ul.cms_toolbar li { list-style:none; list-style-type: none;  display: block; float: left; width: 32px; height: 32px; margin: 3px; background: url(../../img/firma/bg_toolbar.png) repeat; }
ul.cms_toolbar li a { display: block; padding: 0px; margin: 0px; width: 32px; height: 32px; }
ul.cms_toolbar li a img { padding: 0px; margin: 0px;  }
ul.cms_toolbar li:hover { background: #fff; }
-->
</style>

<?php if($this->params['controller']=='pages'){
	$action = (isset($this->params['pass'][0]))?$this->params['pass'][0]:'display';
}else{
	$action = $this->params['action'];
}
?>
<ul class="right gallery cms_toolbar">
	<li class="edit"><?php echo $html->link($html->image('firma/page_edit.png',array('title'=>__('Edit Page',true))), 
        array('plugin'=>null,'controller'=>'cms_sections','action'=>'quick_edit',$this->params['controller'],$action,$ctp_id),
        array('escape'=>false,'class'=>'','onclick'=>"return hs.htmlExpand(this, { objectType: 'iframe',width:800,height:700 } )")); ?></li>
	<li class="edit"><?php echo $html->link($html->image('firma/page_refresh.png',array('title'=>__('Refresh Page',true))), 
        '/'.$this->params['url']['url'],
        array('escape'=>false,'class'=>'')); ?></li>  
    <li class="edit"><?php echo $html->link($html->image('firma/page_delete.png',array('title'=>__('Delete Page',true))), 
        array('plugin'=>null,'controller'=>'cms_sections','action'=>'quick_edit',$this->params['controller'],$action,$ctp_id),
        array('escape'=>false,'class'=>'','onclick'=>"return hs.htmlExpand(this, { objectType: 'iframe' ,width:800,height:700} )")); ?></li> 
    <li class="edit"><?php echo $html->link($html->image('firma/page_setup.png',array('title'=>__('Settings Page',true))), 
        array('plugin'=>null,'controller'=>'cms_sections','action'=>'quick_edit',$this->params['controller'],$action,$ctp_id),
        array('escape'=>false,'class'=>'','onclick'=>"return hs.htmlExpand(this, { objectType: 'iframe',width:800,height:700 } )")); ?></li>         
</ul>
<?php if($session->read('Auth.User.group') == 'emplo'){}?>
